<div class="media">
<div class="spacer">&nbsp;</div>
<?
	if ($gallery) {
		foreach($media as $mit) {
			$mit->display();
		}
	} else { ?>
		No pictures.
	<? }
?>
<div class="spacer">&nbsp;</div>
</div>